<?php 

	/**
	* 创建一个学生信息类
	*/
	class Study_information{
		public $name = '张三';
		public $sex  = '男';
		public $age  = 20;
		public $id = '1234567890';
		public $cj = 100;

		public function cjlook(){
		 	$a = $this->name." 同学的成绩为：".$this->cj;
		 	return $a;
		} 
		
	}

	$study_in = new Study_information();

	echo $study_in->cjlook();







 ?>